using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Models.ViewModels
{
	#region using
	using System.Web.Mvc;
	using TemplateWeb.Models;
	#endregion
	public class SachViewModel
	{
		public GetSachViewModel GetModel { get; set; }
		public EditSachViewModel EditModel { get; set; }
		public AddSachViewModel AddModel { get; set; }
		public SachReferKeys ReferKeys { get; set; }
		public string InfoText { get; set; }
	}
	public class GetSachViewModel
	{
		public List<Sach> LstObjModel { get; set; }
		public int TotalItem { get; set; }
		public int CurrentPage { get; set; }
	}

	public class EditSachViewModel
	{
		public int ID { get; set; }
	}

	public class AddSachViewModel
	{
		public int IDLoaiSach { get; set; }
		public string TenSach { get; set; }
		public string NoiDung { get; set; }
		public string NoiDungRutGon { get; set; }
		public string TacGia { get; set; }
		public long Gia { get; set; }
		public int SoTrang { get; set; }
		public string NhaXuatBan { get; set; }
		public string Kho { get; set; }
		public string HinhMinhHoa { get; set; }
		public bool TieuBieu { get; set; }
		public bool BestSeller { get; set; }
	}

	public class SachReferKeys
	{
		public int IDLoaiSach;
	}

}